import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

export default pinia

// 暴露user
export * from './modules/user'
// 相当于 improt {useUserStore} from './modules/user.js'
//   export {useUserStore}
